package com.linjiahao.userCenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linjiahao.userCenter.domain.ChatUserInfo;
import com.linjiahao.userCenter.vo.PersonInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ChatUserInfoMapper
 * @Description:
 * @Author linjiahao
 * @Date 29/12/2021
 **/
@Mapper
public interface ChatUserInfoMapper extends BaseMapper<ChatUserInfo> {


    List<PersonInfoVO> searchPerson(@Param("keyWord") String keyWord);

    List<PersonInfoVO> getFriendInfoList(@Param("userIds") List<Long> userIds);
}
